package com.example.trackcircuitdiagnosis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.trackcircuitdiagnosis.dto.TrackDTO;
import com.example.trackcircuitdiagnosis.entity.TrackEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TrackMapper extends BaseMapper<TrackEntity> {

    List<TrackDTO> getTracksWithAreasAndDevices();
}
